package cn.edu.scau.cmi.tangqingning.adapter.hotel;

import cn.edu.scau.cmi.tangqingning.adapter.plug.DBPlugInterface;

public class GermanHotel {
	//旅馆有一个德标插口
	public DBPlugInterface dBPlugIn = null;

	public GermanHotel(){

	}
	public GermanHotel(DBPlugInterface dBPlug) {
		this.dBPlugIn = dBPlug;
	}

	public void setAdapter(DBPlugInterface a) {
		this.dBPlugIn = a;
	}

	//旅馆中有一个充电的功能
	public String charge() {
		return dBPlugIn.InsertWithTwoRound();
	}
}
